home *** CD-ROM | disk | FTP | other *** search
/ Yellows - Privacy (Deluxe) / Akira Gomi Photographs - Yellows: Privacy (Deluxe) - Disc 1.iso / mono / bra.dxr / 00033.ls < prev    next >
Encoding:
Text File  |  1996-07-06  |  1.1 KB  |  31 lines

  1. on inits
  2.   global monolist, monoclist, keydetect, event
  3.   set monolist to ["002,A", "002,C", "002,D", "002,E", "002,G", "002,H", "002,I", "002,K", "002,L", "002,N", "002,O", "002,P", "002,Q", "002,S", "002,T", "002,U", "002,V", "002,W", "002,X", "002,Y"]
  4.   set monoclist to []
  5.   set a to count(monolist)
  6.   repeat with i = 1 to a
  7.     set mono to getAt(monolist, random(count(monolist)))
  8.     add(monoclist, mono)
  9.     deleteAt(monolist, getPos(monolist, mono))
  10.   end repeat
  11.   repeat with i = 2 to 7
  12.     puppetSprite(i, 1)
  13.     set the ink of sprite i to 0
  14.     set the type of sprite i to 1
  15.     set the foreColor of sprite i to 255
  16.     set the backColor of sprite i to 0
  17.   end repeat
  18. end
  19.  
  20. on columnset num
  21.   repeat with i = 1 to 3
  22.     repeat with t = 1 to 2
  23.       set monoc to getAt(monoclist, ((num - 1) * 2) + ((i - 1) * 2) + t)
  24.       set spnum to (2 * (i - 1)) + t + 1
  25.       set the castNum of sprite spnum to the number of member monoc
  26.       set the locH of sprite spnum to 130 + ((i - 1) * 189)
  27.       set the locV of sprite spnum to 162 + ((t - 1) * 156)
  28.     end repeat
  29.   end repeat
  30. end
  31.